<?php if (!defined('THINK_PATH')) exit();?>﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title><?php echo ($System_namex); ?></title>
<script type=text/javascript src="__PUBLIC__/Js/jquery-1.11.3.min.js"></script>
<script type=text/javascript src="__PUBLIC__/Js/nav.js"></script>
<link href="__PUBLIC__/Css/css.css" rel="stylesheet" type="text/css">
<script language="javascript">
function turnHeight(iframe)
{
    var frm = document.getElementById(iframe);
	frm.height = 600;
    var subWeb = document.frames ? document.frames[iframe].document : frm.contentDocument;
    if(frm != null && subWeb != null)
    {
	if (subWeb.body.scrollHeight<600){
	frm.height = 600;
	}else{
	frm.height = subWeb.body.scrollHeight + 10;
	}
	}
}
</script>
<script type="text/javascript">
function reinitIframe(){
	var iframe = document.getElementById("main");
	try{
		var bHeight = iframe.contentWindow.document.body.scrollHeight;
		var dHeight = iframe.contentWindow.document.documentElement.scrollHeight;
		var height = Math.max(bHeight, dHeight);
		iframe.height =  height;
	}catch (ex){}
}
</script>

<script type="text/javascript">
	jQuery(function(){
		jQuery('#aa').click(function(){
			jQuery('#aa').removeClass('current');
			jQuery(this).addClass('current');
		});
		
	});
	</script>
<style></style>
</head>

<body onload="new Accordian('basic-accordian',5,'header_highlight');">
<div id="top">
  <div class="color-line"></div>
  <div class="logo"><!--<img src="__PUBLIC__/Images/logo.png">--><span>Circle-Loop</span></div>
  <div class="menu_bg" id="MenuSwitch"><!--<img src="__PUBLIC__/Images/menus.png">-->☰</div>
  <div class="dk"> <img src="__PUBLIC__/Images/name.png"> <span>欢迎您：<?php echo ($fck_rs['user_id']); ?> </span> <img src="__PUBLIC__/Images/out.png"> <a href="__APP__/Public/LogOut/"  onclick="if(confirm('确定安全退出吗?')) return true; else return false;" target="_top">退出</a       > </div>
</div>
<div class="main">
  <div class="nav" id="MenuBoard">
 
           
    <div id="basic-accordian" ><!--菜单开始-->
       
      <?php if(($fck_rs['is_boss']) >= "1"): ?><div id="test7-header" class="accordion_headings" ><a id="aa"><img src="__PUBLIC__/Images/nav8.png"><span>后台管理</span><small>></small></a></div>
      <div id="test7-content">
        <div class="accordion_child">
          <ul>
            <li><a href="__APP__/Bonus/cody/c_id/3" target="main">当期出纳</a></li>
            <li><a href="__APP__/Bonus/cody/c_id/4" target="main">奖金查询</a></li>
            <li><a href="__APP__/YouZi/cody/c_id/18" target="main">货币流向</a></li>
            <!-- <li><a href="__APP__/YouZi/cody/c_id/1" target="main">账户审核</a></li>-->
            <li><a href="__APP__/Recharge/cody/c_id/2" target="main">充值管理</a></li>
            <li><a href="__APP__/Uplevel/cody/c_id/2" target="main">晋级管理</a></li>
              <li><a href="__APP__/Cash/cody/c_id/19" target="main">申请报单管理</a></li>
            <li><a href="__APP__/Cash/cody/c_id/8" target="main">申请管理</a></li>
            <li><a href="__APP__/Cash/cody/c_id/6" target="main">交易管理</a></li>
            <li><a href="__APP__/Cash/cody/c_id/7" target="main">手动匹配</a></li>
            <li><a href="__APP__/YouZi/cody/c_id/2" target="main">会员管理</a></li>
            <li><a href="__APP__/News/cody/c_id/1/" target="main">新闻公告管理</a></li>
            <li><a href="__APP__/YouZi/cody/c_id/7" target="main">数据库备份</a></li>
            <li><a href="__APP__/YouZi/cody/c_id/3" target="main">参数设置</a></li>
            <li><a href="__APP__/YouZi/cody/c_id/9" target="main">清空数据</a></li>
            <li><a href="__APP__/Sms/cody/c_id/1" target="main">短信配置</a></li>
          </ul>
        </div>
      </div><?php endif; ?>
      <div class="accordion_headings"><a id="aa" href="__APP__/Public/LogOut/" target="_top"  onclick="if(confirm('确定退出吗?')) return true; else return false;"><img src="__PUBLIC__/Images/out1.png">退出</a></div>
    </div>
  </div>
  <div class="content" id="ContentBoard"> 
    

    <div class="main_box">
      <iframe src="__APP__/Public/main" onload="turnHeight('main');" id="main"  name="main" height="100%" width="100%" frameborder="0"></iframe>
    </div>
  </div>
  <div style="clear:both; overflow:hidden;"></div>
</div>
</body>
<script type="text/javascript">

jQuery(function(){			//匹配订单
	auto();
});
function auto(){
	//alert("我被执行拉");
	jQuery.get("__APP__/Cash/autopp"),function(data){

	}
	}
	setInterval("auto()",10000); //每10秒钟执行一次test()
</script>
</html>